package movies.domain;

/**
 *
 * @author Hanna_Aliakseichykava
 */
public class PersonForArticle {

    private int id;
    private int articleId;
    private int personId;

    public PersonForArticle() {
    }

    public PersonForArticle(int articleId, int personId) {
        
        this.articleId = articleId;
        this.personId = personId;
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPersonId() {
        return personId;
    }

    public void setPersonId(int personId) {
        this.personId = personId;
    }

    

}
